package com.group01.service;

import com.group01.pojo.ShopCar;
import com.baomidou.mybatisplus.extension.service.IService;
import com.group01.result.Result;
import com.group01.vo.ShopCar.ShopCarGetInfoVO;

import java.util.List;

/**
* @author 19559
* @description 针对表【es_shopcar(购物车表)】的数据库操作Service
* @createDate 2024-06-23 08:45:12
*/
public interface ShopCarService extends IService<ShopCar> {

    Result<List<ShopCarGetInfoVO>> getShopCarInfoList();

    Result<String> AddShopCarInfo(Integer id, Integer num);

    Result<String> updateShopCarNums(Integer id, Integer num);

    Result<String> deleteShopCarInfos(List<Integer> ids);

    Result<Long> getCartSize();
}
